package com.jesterplayer.data;

import java.util.ArrayList;
import java.util.Iterator;

public class DataManager {

	private static DataManager instance;
	
	private ArrayList<String> songs;
	
	private DataManager() {
		songs = new ArrayList<String>();
	}
	
	public void addSong(String song) {
		songs.add(song);
	}
	
	public Iterator<String> getSongIterator() {
		return songs.iterator();
	}
	
	public DataManager getInstance() {
		return instance == null ? new DataManager() : instance;
	}
	
	
}
